<template>
	<view>
		<rich-text :nodes="item.content" v-for="item in htmlList"></rich-text>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				htmlList:[]
			}
		},
		methods: {
			getInfo() {
				this.$get('index/indexNews', {}, (res) => {
					this.htmlList = res.list;
					console.log(res)
				})
			},
		},
		onLoad() {
			this.getInfo()
		},
		onShow() {
			
		}
	}
</script>

<style>
	rich-text image {
		width: 100%;
	}
</style>
